package com.cskaoyan.order.remote;

import com.cskaoyan.mall.commons.result.ServiceCallResponse;
import com.cskaoyan.mall.user.AddressOrderDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 *
 * @since 2022/08/25 20:13
 * @author sunxuJ
 */
@FeignClient("duolai-user")
public interface AddressApiClient {

    @GetMapping("/order/getAddress")
    ServiceCallResponse<AddressOrderDto> queryAddressByAddressId(@RequestParam("id") Long id);
}
